<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body></body>
  <script>
    let arr = [13, 6, 10, 11, 16];
    const max = Math.max.apply(Math, arr);
    const min = Math.min.apply(Math, arr);

    console.log(max);
    console.log(min);
  </script>
</html>
